html,
body {
  width: 100%;
  height: 100%;
  touch-action: manipulation;
}

body {
  font-family: "Microsoft Yahei", "微软雅黑", "PingFangSC", "helvetica neue",
    "hiragino sans gb", "arial", "microsoft yahei ui", "simsun", "sans-serif" !important;
  font-size: 14px;
  background: #fff;
  color: #5e5e5e;
  outline: 0;
  /*字体抗锯齿 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
  background-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-modify: read-only;
  cursor: pointer;
}

:focus {
  outline: 0;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
figure,
figcaption,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

fieldset,
img {
  border: none;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var,
optgroup,
i,
b {
  font-style: inherit;
  font-weight: inherit;
}

del,
ins {
  text-decoration: none;
}

li {
  list-style: none;
}

caption,
th {
  font-weight: normal;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

input,
button,
textarea,
select,
optgroup,
option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  outline: none;
  background: none;
}

textarea {
  resize: vertical;
}

/*select*/
select {
  /*复写Chrome和Firefox里面的边框*/
  border: 1px solid green;
  /*清除默认样式*/
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
select::-ms-expand {
  display: none;
}

/*浮动*/
.fl {
  float: left;
}

.fr {
  float: right;
}

/*清除浮动*/
.clear:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clear {
  zoom: 1;
}

/* 低版本浏览器使用html5标签需要先对html标签转块 */
header,
section,
article,
aside,
footer {
  display: block;
}
